package com.dkm.ec.bbs.persistence.entity;
import java.util.Date;

import org.apache.commons.lang.builder.ToStringBuilder;

import com.dkm.base.api.annotion.IField;
import com.dkm.base.api.annotion.ITable;
import com.dkm.base.db.persistence.entity.AbstractPo;

/**
 * 对象功能:帖子图片 Tbl对象
 * 开发公司:dkm.com
 * 开发人员:ZHH
 * 创建时间:2017-05-24 19:05:53
 */
 @ITable(name="postsImg",code="t_bbs_posts_img")
public class PostsImgTbl extends AbstractPo<String>{
	@IField(name="id",column="id_")
	protected String  id; 		/*ID*/
	@IField(name="postsId",column="posts_id_")
	protected String  postsId; 		/*帖子ID*/
	@IField(name="topicId",column="topic_id_")
	protected String  topicId; 		/*所属话题ID*/
	@IField(name="url",column="url_")
	protected String  url; 		/*url_*/
	@IField(name="member",column="member_")
	protected String  member; 		/*会员ID*/
	@IField(name="sort",column="sort_")
	protected Integer  sort; 		/*排序*/
	@IField(name="createTime",column="create_time_")
	protected java.util.Date  createTime; 		/*创建时间*/
	@IField(name="isMain",column="is_main_")
	protected String  isMain; 		/*是否主图*/
	@IField(name="width",column="width_")
	protected Integer  width; 		/*图宽*/
	@IField(name="height",column="height_")
	protected Integer  height; 		/*图高*/
	@IField(name="size",column="size_")
	protected Long  size; 		/*图片大小*/
	
	
	public void setId(String id) 
	{
		this.id = id;
	}
	/**
	 * 返回 ID
	 * @return
	 */
	public String getId() 
	{
		return this.id;
	}
	public void setPostsId(String postsId) 
	{
		this.postsId = postsId;
	}
	/**
	 * 返回 帖子ID
	 * @return
	 */
	public String getPostsId() 
	{
		return this.postsId;
	}
	public void setTopicId(String topicId) 
	{
		this.topicId = topicId;
	}
	/**
	 * 返回 所属话题ID
	 * @return
	 */
	public String getTopicId() 
	{
		return this.topicId;
	}
	public void setUrl(String url) 
	{
		this.url = url;
	}
	/**
	 * 返回 url_
	 * @return
	 */
	public String getUrl() 
	{
		return this.url;
	}
	public void setMember(String member) 
	{
		this.member = member;
	}
	/**
	 * 返回 会员ID
	 * @return
	 */
	public String getMember() 
	{
		return this.member;
	}
	public void setSort(Integer sort) 
	{
		this.sort = sort;
	}
	/**
	 * 返回 排序
	 * @return
	 */
	public Integer getSort() 
	{
		return this.sort;
	}
	public void setCreateTime(java.util.Date createTime) 
	{
		this.createTime = createTime;
	}
	/**
	 * 返回 创建时间
	 * @return
	 */
	public java.util.Date getCreateTime() 
	{
		return this.createTime;
	}
	public void setIsMain(String isMain) 
	{
		this.isMain = isMain;
	}
	/**
	 * 返回 是否主图
	 * @return
	 */
	public String getIsMain() 
	{
		return this.isMain;
	}
	public void setWidth(Integer width) 
	{
		this.width = width;
	}
	/**
	 * 返回 图宽
	 * @return
	 */
	public Integer getWidth() 
	{
		return this.width;
	}
	public void setHeight(Integer height) 
	{
		this.height = height;
	}
	/**
	 * 返回 图高
	 * @return
	 */
	public Integer getHeight() 
	{
		return this.height;
	}
	public void setSize(Long size) 
	{
		this.size = size;
	}
	/**
	 * 返回 图片大小
	 * @return
	 */
	public Long getSize() 
	{
		return this.size;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() 
	{
		return new ToStringBuilder(this)
		.append("id", this.id) 
		.append("postsId", this.postsId) 
		.append("topicId", this.topicId) 
		.append("url", this.url) 
		.append("member", this.member) 
		.append("sort", this.sort) 
		.append("createTime", this.createTime) 
		.append("isMain", this.isMain) 
		.append("width", this.width) 
		.append("height", this.height) 
		.append("size", this.size) 
		.toString();
	}
}